SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[LoginHostSelectByHost]
	@Hostname VARBINARY(MAX)
AS
BEGIN
	SELECT Id, UserId, Hostname, Autologin, DateCreated
	FROM LoginHost
	WHERE Hostname = @Hostname AND Autologin = 1
END
GO
